home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Environments
/
MacMETH 3.2.4
/
MacMETH Docu
/
RefCheck.DOC
< prev
Wrap
Text File
|
1996-06-20
|
2KB
|
48 lines
Utility "RefCheck"
Purpose
The tool RefCheck analyzes Modula-2 modules to detect
superfluous imports.
Method
Any imported objects which are not really used in the
subsequent source code are marked with a particular error
mark which can be displayed and corrected with the ordinary
editor you use in conjunction with the MacMETH or
RAMSES shell.
Remark
This tool is most useful in conjunction with the tool
HierSRC. The latter produces misleading results if the code
contains still superfluous imports. Using RefCheck enables
you to easily clean your code from unnecessary imports in
order to get a proper result from the analysis performed by
HierSRC (see separate documentation).
Typical usage
Call the tool from within a shell such as the MacMETH shell.
If your User.Profile configuration does not already offer you
a command to call RefCheck simply use command Execute and
select the tool RefCheck from the folder containing the
M2Tools. Then give RefCheck the module(s) you wish to analyze
exactly as you specify modules to be compiled for the
compiler. In particular note that it is also possible to
specify a file name instead of a module name in order to have
RefCheck to analyze an entire series of modules by pressing
simultaneously Command^Shift^0 (divert input to a command
file).
This utility forms part of the MacMETH fast Modula-2 language
system. It is available via anonymous ftp from Internet host
"ftp.ito.umnw.ethz.ch"
(current internet address 129.132.80.130) at no charge courtesy
ETHZ. For further information you may also wish to consult
'http://www.ito.umnw.ethz.ch/sysecol'.
af 3/Mar/96